package springframeworkcase.code.service;


import springframeworkcase.code.entities.Payment;

/**
 *
 * @date 2024/1/17 10:40
 **/
public interface PaymentService {
    /**
     * 新增
     *
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 根据Id查询
     *
     * @param id
     * @return
     */
    Payment getPaymentById(Long id);
}
